package com.example.xiaoshuo_yudu.entity.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 作者:xuSen
 * 日期2025/7/31 0:05
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
public class BookmarkDto {
  //必须
  @NotNull(message = "书籍ID（bookId）不能为空")
  private Long bookId;
  private Long chapterId = 1L;
  private Long position = 0L;
  private Long IsBookshelf=0L;
}
